package com.wn.class30.mapper;

import com.wn.class30.entity.CommentImg;
import com.wn.class30.entity.CommentImgExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CommentImgDao {
    long countByExample(CommentImgExample example);

    int deleteByExample(CommentImgExample example);

    int deleteByPrimaryKey(Integer commentImgId);

    int insert(CommentImg record);

    int insertSelective(CommentImg record);

    List<CommentImg> selectByExample(CommentImgExample example);

    CommentImg selectByPrimaryKey(Integer commentImgId);

    int updateByExampleSelective(@Param("record") CommentImg record, @Param("example") CommentImgExample example);

    int updateByExample(@Param("record") CommentImg record, @Param("example") CommentImgExample example);

    int updateByPrimaryKeySelective(CommentImg record);

    int updateByPrimaryKey(CommentImg record);
}